package com.airlines.crewassignment.domain.solver;

import org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter;
import org.optaplanner.core.impl.score.director.ScoreDirector;

import com.airlines.crewassignment.domain.CrewLinkLineRoster;
import com.airlines.crewassignment.domain.CrewPositionAssignment;

/**
 * @author xxxx
 * @date 2018年4月16日 
 * @see  MovableShiftAssignmentSelectionFilter
 * @description
 */
public class MovableCrewPositionAssignmentSelectionFilter implements SelectionFilter<CrewLinkLineRoster, CrewPositionAssignment> {

	@Override
	public boolean accept(ScoreDirector<CrewLinkLineRoster> scoreDirector, CrewPositionAssignment selection) {
		//测试，所有的方案均可移动
		return true;
	}

}
